export const SiteV2API = {
  // 站点类型
  siteCatePageListV2: 'api/device/v2/site-categorys/v2/bspagelist',
  getSiteCateById: 'api/device/v2/site-categorys/{id}',
  getAllSiteCate: 'api/device/v2/site-categorys',
  deleteSiteCateById: 'api/device/v2/site-categorys/{id}',
  putSiteCateById: 'api/device/v2/site-categorys/{id}',
  postSiteCate: 'api/device/v2/site-categorys',

  //  站点区间管理
  siteRangePageListV2: 'api/device/statistics/analysis/ranges?format=json',
  getSiteRangeById: 'api/device/v2/site-ranges/{id}',
  getAllSiteRange: 'api/device/v2/site-ranges',
  deleteSiteRangeById: 'api/device/v2/site-ranges/{id}',
  putSiteRangeById: 'api/device/v2/site-ranges/{id}',
  postSiteRange: 'api/device/v2/site-ranges',
  historySiteRangeAddr: 'api/device/v2/site-ranges/info?format=json',
  siteRangeMapInfo: 'api/device/statistics/analysis/ranges?format=json',

  // 设备管理
  siteDevicePageListV2: 'api/device/v2/site-monitors/v2/bspagelist?format=json',
  getSiteDeviceById: 'api/device/v2/site-monitors/{id}?format=json',
  getAllSiteDeviceById: 'api/device/v2/site-monitors?format=json',
  deleteSiteDeviceById: 'api/device/v2/site-monitors/{id}?format=json',
  addSiteDevice: 'api/device/v2/site-monitors?format=json',
  editSiteDevice: 'api/device/v2/site-monitors/{id}?format=json',
  deleteSiteDevices: 'api/device/v2/site-monitors/batch-delete?format=json',

  // 设备类型获取
  getMonitor: 'api/monitors',
  // 站点设备权重添加或修改
  siteMonitorSetAddOrEdit: 'api/siteMonitorSets?format=json',
  // 站点设备权重删除接口
  siteMonitorSetDelete: 'api/siteMonitorSets',
  // 根据id查询
  siteMonitorSetBySnCode: 'api/siteMonitorSets/getBySnCode?format=json',

  // 站点管理
  // 站点分页版本v2
  sitePageListV2: 'api/device/v2/sites/v2/bspagelist?format=json',
  getSiteById: 'api/device/v2/sites/{id}?format=json',
  insertSite: 'api/device/v2/sites?format=json',
  updateSite: 'api/device/v2/sites/{id}?format=json',
  deleteSite: 'api/device/v2/sites/{id}?format=json',
  delSites: 'api/device/v2/sites/batch-delete?format=json',
  getDevBySiteCode: 'api/device/v2/site-monitors/infos?format=json',

  // 获取行政区划关联树， 获取全国行政区划树（regionCode=0）(get请求)
  getRetrieveRegionsTree: 'api/regions/getRetrieveRegionsTree?format=json',
  // 政府无参查询
  getGovInfos: 'api/govInfos/getGovInfos?format=json',
  // 企业无参查询
  getEntInfos: 'api/entInfos/getEntInfos?format=json',

  // 设备类型管理
  deviceCatePageListV2: 'api/device/v2/code-monitors/v2/bspagelist?format=json',
  getDeviceCateByCode: 'api/device/v2/code-monitors/{monitorCode}?format=json',
  deleteDeviceCateByCodes: 'api/device/v2/code-monitors/{monitorCode}?format=json',
  insertDeviceCate: 'api/device/v2/code-monitors?format=json',
  updateDeviceCate: 'api/device/v2/code-monitors/{monitorCode}?format=json',

  // 获取父级行政区划
  getParentRagion: 'api/ext/tree-facade/rootRegionName?format=json',

  // 为站点分配多个设备
  postIdsForSite: 'api/device/v2/site-monitors/updateSiteCode?format=json'
};

